
package org.springblade.modules.videoanswer.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springblade.core.mp.base.BaseEntity;

/**
 * 视频管理实体类
 *
 * @author jiangyandong
 * @since 2021-03-22
 */
@Data
@TableName("rrm_video")
@ApiModel(value = "Video对象", description = "视频管理")
public class Video extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

  @TableId(value = "id", type = IdType.AUTO)
  private Integer id;
    /**
     * 视频地址
     */
    @ApiModelProperty(value = "视频地址")
    private String videoUrl;
    /**
     * 视频名称
     */
    @ApiModelProperty(value = "视频名称")
    private String videoName;
    /**
     * 视频大小
     */
    @ApiModelProperty(value = "视频大小")
    private Double videoSize;
    /**
     * 视频长度
     */
    @ApiModelProperty(value = "视频长度")
    private Integer duration;
    /**
     * 是否允许快进后退1允许0不允许
     */
    @ApiModelProperty(value = "是否允许快进后退1允许0不允许")
    private Integer isForward;
    /**
     * 红包类型（1区间/2固定）
     */
    @ApiModelProperty(value = "红包类型（1区间/2固定）")
    private Integer redEnvelopeType;
    /**
     * 红包金额最低（类型为固定，取最低值
     */
    @ApiModelProperty(value = "红包金额最低（类型为固定，取最低值")
    private Integer redEnvelopeMin;
    /**
     * 红包金额最高
     */
    @ApiModelProperty(value = "红包金额最高")
    private Integer redEnvelopeMax;


}
